import Vue from 'vue'
import VueRouter from 'vue-router'
import Index from '../views/Index'
import Shop from '../views/Shop'
import PrizeCheck from '../views/PrizeCheck'

Vue.use(VueRouter)

const routes = [
    
    {
        path: '/',
        name:'index',
        component: Index
    },
    {
        path: '/shop/:id',
        name:'shop',
        component: Shop
    },
    {
        path: '/prizecheck',
        name:'shop',
        component: PrizeCheck
    },
]

const router = new VueRouter({
    routes
})

export default router